package design.patterns.creational.singleton;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/4/1 10:35
 */
public class DebugTest {
    public static void main(String[] args) {
       /* LazySingleton instance = LazySingleton.getInstance();
        System.out.println(instance);

        LazySingleton instance2 = LazySingleton.getInstance();
        System.out.println(instance2);*/


            MyThread t1 = new MyThread();
            MyThread t2 = new MyThread();

            t1.start();
            t2.start();

             System.out.println("main......");
    }
}
